{% load i18n %} {% if author and author_link %} {% blocktrans %}

The following attributes of {{ class }} {{ name }} were changed by {{ author }}:

{% endblocktrans %} {% else %} {% blocktrans %}

The following attributes of {{ class }} {{ name }} were changed:

{% endblocktrans %} {% endif %}
{% for fieldname, values in changes.items %}
{{ fieldname|capfirst }}
{% with values|first|safe as old_value %} {% with values|last|safe as new_value %} {% blocktrans %}from {{ old_value }} to {{ new_value }}{% endblocktrans %} {% endwith %} {% endwith %}
{% endfor %}